home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************/
- /* */
- /* TurboCAD for Windows */
- /* Copyright (c) 1993 - 2001 */
- /* International Microcomputer Software, Inc. */
- /* (IMSI) */
- /* All rights reserved. */
- /* */
- /******************************************************************/
-
- // SplPage.cpp : implementation file
- //
-
- #include "stdafx.h"
- #include "MfcSplin.h"
- #include "SplPage.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CSplinePage dialog
-
-
- CSplinePage::CSplinePage(CWnd* pParent /*=NULL*/)
- : CDialog(CSplinePage::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CSplinePage)
- m_nSegments = 0;
- m_bControlPoints = FALSE;
- m_bFrame = FALSE;
- m_bSmoothing = FALSE;
- //}}AFX_DATA_INIT
- }
-
-
- void CSplinePage::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CSplinePage)
- DDX_Text(pDX, IDC_SEGMENTS, m_nSegments);
- // set limit for number of segments in the spline object
- DDV_MinMaxUInt(pDX, m_nSegments, 1, 200);
- DDX_Check(pDX, IDC_SHOW_CONTROL_POINTS, m_bControlPoints);
- DDX_Check(pDX, IDC_SHOW_FRAME, m_bFrame);
- DDX_Check(pDX, IDC_SMOOTHING, m_bSmoothing);
- //}}AFX_DATA_MAP
- }
-
-
- BEGIN_MESSAGE_MAP(CSplinePage, CDialog)
- //{{AFX_MSG_MAP(CSplinePage)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CSplinePage message handlers
-